package com.ecoolex.discount.sales.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class YouWorldOrderRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public YouWorldOrderRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public YouWorldOrderRecordExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public YouWorldOrderRecordExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        YouWorldOrderRecordExample example = new YouWorldOrderRecordExample();
        return example.createCriteria();
    }

    public YouWorldOrderRecordExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public YouWorldOrderRecordExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public YouWorldOrderRecordExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public YouWorldOrderRecordExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public YouWorldOrderRecordExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("youworldorderrecord.Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("youworldorderrecord.Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("youworldorderrecord.Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("youworldorderrecord.Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("youworldorderrecord.Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("youworldorderrecord.Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("youworldorderrecord.Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("youworldorderrecord.Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("youworldorderrecord.Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("youworldorderrecord.Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("youworldorderrecord.Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("youworldorderrecord.Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("youworldorderrecord.OrderNo is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("youworldorderrecord.OrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("youworldorderrecord.OrderNo =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.OrderNo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("youworldorderrecord.OrderNo <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.OrderNo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("youworldorderrecord.OrderNo >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.OrderNo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.OrderNo >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.OrderNo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("youworldorderrecord.OrderNo <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.OrderNo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.OrderNo <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.OrderNo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("youworldorderrecord.OrderNo like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("youworldorderrecord.OrderNo not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("youworldorderrecord.OrderNo in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("youworldorderrecord.OrderNo not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.OrderNo between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.OrderNo not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("youworldorderrecord.UserId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("youworldorderrecord.UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("youworldorderrecord.UserId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("youworldorderrecord.UserId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("youworldorderrecord.UserId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.UserId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("youworldorderrecord.UserId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.UserId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("youworldorderrecord.UserId like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("youworldorderrecord.UserId not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("youworldorderrecord.UserId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("youworldorderrecord.UserId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.UserId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.UserId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdIsNull() {
            addCriterion("youworldorderrecord.ProdeuctId is null");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdIsNotNull() {
            addCriterion("youworldorderrecord.ProdeuctId is not null");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdEqualTo(String value) {
            addCriterion("youworldorderrecord.ProdeuctId =", value, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProdeuctId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProdeuctIdNotEqualTo(String value) {
            addCriterion("youworldorderrecord.ProdeuctId <>", value, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProdeuctId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProdeuctIdGreaterThan(String value) {
            addCriterion("youworldorderrecord.ProdeuctId >", value, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProdeuctId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProdeuctIdGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.ProdeuctId >=", value, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProdeuctId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProdeuctIdLessThan(String value) {
            addCriterion("youworldorderrecord.ProdeuctId <", value, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProdeuctId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProdeuctIdLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.ProdeuctId <=", value, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProdeuctId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProdeuctIdLike(String value) {
            addCriterion("youworldorderrecord.ProdeuctId like", value, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdNotLike(String value) {
            addCriterion("youworldorderrecord.ProdeuctId not like", value, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdIn(List<String> values) {
            addCriterion("youworldorderrecord.ProdeuctId in", values, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdNotIn(List<String> values) {
            addCriterion("youworldorderrecord.ProdeuctId not in", values, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.ProdeuctId between", value1, value2, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProdeuctIdNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.ProdeuctId not between", value1, value2, "prodeuctId");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNull() {
            addCriterion("youworldorderrecord.ProductName is null");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNotNull() {
            addCriterion("youworldorderrecord.ProductName is not null");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualTo(String value) {
            addCriterion("youworldorderrecord.ProductName =", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductName = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualTo(String value) {
            addCriterion("youworldorderrecord.ProductName <>", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductName <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThan(String value) {
            addCriterion("youworldorderrecord.ProductName >", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductName > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.ProductName >=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductName >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductNameLessThan(String value) {
            addCriterion("youworldorderrecord.ProductName <", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductName < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.ProductName <=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductName <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductNameLike(String value) {
            addCriterion("youworldorderrecord.ProductName like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotLike(String value) {
            addCriterion("youworldorderrecord.ProductName not like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameIn(List<String> values) {
            addCriterion("youworldorderrecord.ProductName in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotIn(List<String> values) {
            addCriterion("youworldorderrecord.ProductName not in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.ProductName between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.ProductName not between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductPriceIsNull() {
            addCriterion("youworldorderrecord.ProductPrice is null");
            return (Criteria) this;
        }

        public Criteria andProductPriceIsNotNull() {
            addCriterion("youworldorderrecord.ProductPrice is not null");
            return (Criteria) this;
        }

        public Criteria andProductPriceEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.ProductPrice =", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductPriceNotEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.ProductPrice <>", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThan(BigDecimal value) {
            addCriterion("youworldorderrecord.ProductPrice >", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.ProductPrice >=", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThan(BigDecimal value) {
            addCriterion("youworldorderrecord.ProductPrice <", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.ProductPrice <=", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ProductPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProductPriceIn(List<BigDecimal> values) {
            addCriterion("youworldorderrecord.ProductPrice in", values, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotIn(List<BigDecimal> values) {
            addCriterion("youworldorderrecord.ProductPrice not in", values, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldorderrecord.ProductPrice between", value1, value2, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldorderrecord.ProductPrice not between", value1, value2, "productPrice");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("youworldorderrecord.Amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("youworldorderrecord.Amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.Amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Amount = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.Amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Amount <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("youworldorderrecord.Amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Amount > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.Amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Amount >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("youworldorderrecord.Amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Amount < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.Amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Amount <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("youworldorderrecord.Amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("youworldorderrecord.Amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldorderrecord.Amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldorderrecord.Amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andPlatformIsNull() {
            addCriterion("youworldorderrecord.Platform is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIsNotNull() {
            addCriterion("youworldorderrecord.Platform is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformEqualTo(String value) {
            addCriterion("youworldorderrecord.Platform =", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Platform = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPlatformNotEqualTo(String value) {
            addCriterion("youworldorderrecord.Platform <>", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Platform <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPlatformGreaterThan(String value) {
            addCriterion("youworldorderrecord.Platform >", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Platform > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPlatformGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.Platform >=", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Platform >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPlatformLessThan(String value) {
            addCriterion("youworldorderrecord.Platform <", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Platform < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPlatformLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.Platform <=", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Platform <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPlatformLike(String value) {
            addCriterion("youworldorderrecord.Platform like", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotLike(String value) {
            addCriterion("youworldorderrecord.Platform not like", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformIn(List<String> values) {
            addCriterion("youworldorderrecord.Platform in", values, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotIn(List<String> values) {
            addCriterion("youworldorderrecord.Platform not in", values, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.Platform between", value1, value2, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.Platform not between", value1, value2, "platform");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelIsNull() {
            addCriterion("youworldorderrecord.PaymentChannel is null");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelIsNotNull() {
            addCriterion("youworldorderrecord.PaymentChannel is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelEqualTo(String value) {
            addCriterion("youworldorderrecord.PaymentChannel =", value, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentChannel = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentChannelNotEqualTo(String value) {
            addCriterion("youworldorderrecord.PaymentChannel <>", value, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentChannel <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentChannelGreaterThan(String value) {
            addCriterion("youworldorderrecord.PaymentChannel >", value, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentChannel > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentChannelGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.PaymentChannel >=", value, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentChannel >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentChannelLessThan(String value) {
            addCriterion("youworldorderrecord.PaymentChannel <", value, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentChannel < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentChannelLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.PaymentChannel <=", value, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentChannel <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentChannelLike(String value) {
            addCriterion("youworldorderrecord.PaymentChannel like", value, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelNotLike(String value) {
            addCriterion("youworldorderrecord.PaymentChannel not like", value, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelIn(List<String> values) {
            addCriterion("youworldorderrecord.PaymentChannel in", values, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelNotIn(List<String> values) {
            addCriterion("youworldorderrecord.PaymentChannel not in", values, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.PaymentChannel between", value1, value2, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andPaymentChannelNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.PaymentChannel not between", value1, value2, "paymentChannel");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNull() {
            addCriterion("youworldorderrecord.MerchantId is null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNotNull() {
            addCriterion("youworldorderrecord.MerchantId is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdEqualTo(String value) {
            addCriterion("youworldorderrecord.MerchantId =", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MerchantId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotEqualTo(String value) {
            addCriterion("youworldorderrecord.MerchantId <>", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MerchantId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThan(String value) {
            addCriterion("youworldorderrecord.MerchantId >", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MerchantId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.MerchantId >=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MerchantId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThan(String value) {
            addCriterion("youworldorderrecord.MerchantId <", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MerchantId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.MerchantId <=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MerchantId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchantIdLike(String value) {
            addCriterion("youworldorderrecord.MerchantId like", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotLike(String value) {
            addCriterion("youworldorderrecord.MerchantId not like", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIn(List<String> values) {
            addCriterion("youworldorderrecord.MerchantId in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotIn(List<String> values) {
            addCriterion("youworldorderrecord.MerchantId not in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.MerchantId between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.MerchantId not between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentIsNull() {
            addCriterion("youworldorderrecord.DiscountPercent is null");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentIsNotNull() {
            addCriterion("youworldorderrecord.DiscountPercent is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.DiscountPercent =", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.DiscountPercent = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDiscountPercentNotEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.DiscountPercent <>", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.DiscountPercent <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDiscountPercentGreaterThan(BigDecimal value) {
            addCriterion("youworldorderrecord.DiscountPercent >", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.DiscountPercent > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDiscountPercentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.DiscountPercent >=", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.DiscountPercent >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDiscountPercentLessThan(BigDecimal value) {
            addCriterion("youworldorderrecord.DiscountPercent <", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.DiscountPercent < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDiscountPercentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.DiscountPercent <=", value, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.DiscountPercent <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDiscountPercentIn(List<BigDecimal> values) {
            addCriterion("youworldorderrecord.DiscountPercent in", values, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentNotIn(List<BigDecimal> values) {
            addCriterion("youworldorderrecord.DiscountPercent not in", values, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldorderrecord.DiscountPercent between", value1, value2, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andDiscountPercentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldorderrecord.DiscountPercent not between", value1, value2, "discountPercent");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsIsNull() {
            addCriterion("youworldorderrecord.MembershipPoints is null");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsIsNotNull() {
            addCriterion("youworldorderrecord.MembershipPoints is not null");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.MembershipPoints =", value, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MembershipPoints = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMembershipPointsNotEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.MembershipPoints <>", value, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MembershipPoints <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMembershipPointsGreaterThan(BigDecimal value) {
            addCriterion("youworldorderrecord.MembershipPoints >", value, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MembershipPoints > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMembershipPointsGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.MembershipPoints >=", value, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MembershipPoints >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMembershipPointsLessThan(BigDecimal value) {
            addCriterion("youworldorderrecord.MembershipPoints <", value, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MembershipPoints < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMembershipPointsLessThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldorderrecord.MembershipPoints <=", value, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.MembershipPoints <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMembershipPointsIn(List<BigDecimal> values) {
            addCriterion("youworldorderrecord.MembershipPoints in", values, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsNotIn(List<BigDecimal> values) {
            addCriterion("youworldorderrecord.MembershipPoints not in", values, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldorderrecord.MembershipPoints between", value1, value2, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andMembershipPointsNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldorderrecord.MembershipPoints not between", value1, value2, "membershipPoints");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("youworldorderrecord.Currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("youworldorderrecord.Currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("youworldorderrecord.Currency =", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Currency = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyNotEqualTo(String value) {
            addCriterion("youworldorderrecord.Currency <>", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Currency <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("youworldorderrecord.Currency >", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Currency > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.Currency >=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Currency >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("youworldorderrecord.Currency <", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Currency < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.Currency <=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Currency <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyLike(String value) {
            addCriterion("youworldorderrecord.Currency like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotLike(String value) {
            addCriterion("youworldorderrecord.Currency not like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyIn(List<String> values) {
            addCriterion("youworldorderrecord.Currency in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotIn(List<String> values) {
            addCriterion("youworldorderrecord.Currency not in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.Currency between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.Currency not between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andExchangeRateIsNull() {
            addCriterion("youworldorderrecord.ExchangeRate is null");
            return (Criteria) this;
        }

        public Criteria andExchangeRateIsNotNull() {
            addCriterion("youworldorderrecord.ExchangeRate is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeRateEqualTo(String value) {
            addCriterion("youworldorderrecord.ExchangeRate =", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ExchangeRate = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotEqualTo(String value) {
            addCriterion("youworldorderrecord.ExchangeRate <>", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ExchangeRate <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExchangeRateGreaterThan(String value) {
            addCriterion("youworldorderrecord.ExchangeRate >", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ExchangeRate > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExchangeRateGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.ExchangeRate >=", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ExchangeRate >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExchangeRateLessThan(String value) {
            addCriterion("youworldorderrecord.ExchangeRate <", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ExchangeRate < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExchangeRateLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.ExchangeRate <=", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.ExchangeRate <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExchangeRateLike(String value) {
            addCriterion("youworldorderrecord.ExchangeRate like", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotLike(String value) {
            addCriterion("youworldorderrecord.ExchangeRate not like", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateIn(List<String> values) {
            addCriterion("youworldorderrecord.ExchangeRate in", values, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotIn(List<String> values) {
            addCriterion("youworldorderrecord.ExchangeRate not in", values, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.ExchangeRate between", value1, value2, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.ExchangeRate not between", value1, value2, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusIsNull() {
            addCriterion("youworldorderrecord.PaymentStatus is null");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusIsNotNull() {
            addCriterion("youworldorderrecord.PaymentStatus is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusEqualTo(String value) {
            addCriterion("youworldorderrecord.PaymentStatus =", value, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentStatus = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStatusNotEqualTo(String value) {
            addCriterion("youworldorderrecord.PaymentStatus <>", value, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentStatus <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStatusGreaterThan(String value) {
            addCriterion("youworldorderrecord.PaymentStatus >", value, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentStatus > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStatusGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.PaymentStatus >=", value, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentStatus >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStatusLessThan(String value) {
            addCriterion("youworldorderrecord.PaymentStatus <", value, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentStatus < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStatusLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.PaymentStatus <=", value, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.PaymentStatus <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentStatusLike(String value) {
            addCriterion("youworldorderrecord.PaymentStatus like", value, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusNotLike(String value) {
            addCriterion("youworldorderrecord.PaymentStatus not like", value, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusIn(List<String> values) {
            addCriterion("youworldorderrecord.PaymentStatus in", values, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusNotIn(List<String> values) {
            addCriterion("youworldorderrecord.PaymentStatus not in", values, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.PaymentStatus between", value1, value2, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andPaymentStatusNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.PaymentStatus not between", value1, value2, "paymentStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIsNull() {
            addCriterion("youworldorderrecord.RefundStatus is null");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIsNotNull() {
            addCriterion("youworldorderrecord.RefundStatus is not null");
            return (Criteria) this;
        }

        public Criteria andRefundStatusEqualTo(String value) {
            addCriterion("youworldorderrecord.RefundStatus =", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.RefundStatus = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotEqualTo(String value) {
            addCriterion("youworldorderrecord.RefundStatus <>", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.RefundStatus <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundStatusGreaterThan(String value) {
            addCriterion("youworldorderrecord.RefundStatus >", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.RefundStatus > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundStatusGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.RefundStatus >=", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.RefundStatus >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundStatusLessThan(String value) {
            addCriterion("youworldorderrecord.RefundStatus <", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.RefundStatus < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundStatusLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.RefundStatus <=", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.RefundStatus <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundStatusLike(String value) {
            addCriterion("youworldorderrecord.RefundStatus like", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotLike(String value) {
            addCriterion("youworldorderrecord.RefundStatus not like", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIn(List<String> values) {
            addCriterion("youworldorderrecord.RefundStatus in", values, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotIn(List<String> values) {
            addCriterion("youworldorderrecord.RefundStatus not in", values, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.RefundStatus between", value1, value2, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.RefundStatus not between", value1, value2, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("youworldorderrecord.`Status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("youworldorderrecord.`Status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("youworldorderrecord.`Status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`Status` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("youworldorderrecord.`Status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`Status` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("youworldorderrecord.`Status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`Status` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("youworldorderrecord.`Status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`Status` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("youworldorderrecord.`Status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`Status` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("youworldorderrecord.`Status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`Status` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("youworldorderrecord.`Status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("youworldorderrecord.`Status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("youworldorderrecord.`Status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("youworldorderrecord.`Status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("youworldorderrecord.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("youworldorderrecord.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("youworldorderrecord.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("youworldorderrecord.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("youworldorderrecord.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("youworldorderrecord.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("youworldorderrecord.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("youworldorderrecord.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("youworldorderrecord.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("youworldorderrecord.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("youworldorderrecord.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("youworldorderrecord.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("youworldorderrecord.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("youworldorderrecord.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("youworldorderrecord.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("youworldorderrecord.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("youworldorderrecord.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("youworldorderrecord.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("youworldorderrecord.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("youworldorderrecord.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("youworldorderrecord.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("youworldorderrecord.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("youworldorderrecord.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("youworldorderrecord.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("youworldorderrecord.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("youworldorderrecord.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("youworldorderrecord.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("youworldorderrecord.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("youworldorderrecord.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("youworldorderrecord.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("youworldorderrecord.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("youworldorderrecord.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("youworldorderrecord.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("youworldorderrecord.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("youworldorderrecord.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("youworldorderrecord.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("youworldorderrecord.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("youworldorderrecord.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("youworldorderrecord.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("youworldorderrecord.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("youworldorderrecord.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("youworldorderrecord.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("youworldorderrecord.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("youworldorderrecord.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("youworldorderrecord.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("youworldorderrecord.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("youworldorderrecord.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("youworldorderrecord.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("youworldorderrecord.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("youworldorderrecord.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("youworldorderrecord.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("youworldorderrecord.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("youworldorderrecord.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("youworldorderrecord.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(YouWorldOrderRecord.Column column) {
            addCriterion(new StringBuilder("youworldorderrecord.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("youworldorderrecord.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("youworldorderrecord.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("youworldorderrecord.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("youworldorderrecord.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private YouWorldOrderRecordExample example;

        protected Criteria(YouWorldOrderRecordExample example) {
            super();
            this.example = example;
        }

        public YouWorldOrderRecordExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(YouWorldOrderRecord.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(YouWorldOrderRecord.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.discount.sales.entity.YouWorldOrderRecordExample example);
    }
}